/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0a0a0a;
  --bg2:       #111111;
  --bg3:       #1a1a1a;
  --accent:    #f1c75b;   /* USC gold (refined for dark bg) */
  --accent2:   #c9a84c;
  --cardinal:  #990000;   /* USC cardinal red */
  --cardinal-bright: #c41e1e;  /* lighter cardinal for hover */
  --text:      #f0ece4;
  --text-muted:#8a8680;
  --border:    #2a2a2a;
  --radius:    4px;
  --font:      'Georgia', 'Times New Roman', serif;
  --font-sans: system-ui, -apple-system, sans-serif;
  --nav-h:     64px;
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }

/* ── Nav ──────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  border-top: 3px solid var(--cardinal);
  z-index: 100;
}

.nav-center-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  height: 30px;
  width: auto;
  pointer-events: none;
}

.nav-logo {
  font-family: var(--font);
  font-size: 1rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  font-weight: normal;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 36px;
}

.nav-links a {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-links a.active {
  color: var(--text);
  border-bottom: 2px solid var(--cardinal);
  padding-bottom: 4px;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, #0a0a0a 0%, #1a1510 50%, #0a0a0a 100%);
  /* Replace with: background-image: url('../home/media/hero.jpg'); background-size: cover; */
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(232,200,122,0.08) 0%, transparent 70%);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* sits above the gradient fallback, below the text */
  z-index: 1;
  will-change: filter, transform;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  /* darkens the footage so the title stays readable */
  background:
    radial-gradient(ellipse 50% 45% at center, rgba(10,10,10,0.55) 0%, transparent 75%),
    linear-gradient(to bottom, rgba(10,10,10,0.45) 0%, rgba(10,10,10,0.25) 50%, rgba(10,10,10,0.65) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 24px;
}

.hero-title {
  font-family: var(--font);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: normal;
  letter-spacing: 0.05em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 16px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.7), 0 1px 4px rgba(0,0,0,0.6);
}

.hero-sub {
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 48px;
  text-shadow: 0 1px 12px rgba(0,0,0,0.7);
}

.btn {
  display: inline-block;
  padding: 14px 40px;
  border: 1px solid var(--cardinal-bright);
  background: var(--cardinal);
  color: var(--text);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background var(--transition), border-color var(--transition);
}

.btn:hover {
  background: var(--cardinal-bright);
  border-color: var(--cardinal-bright);
}

.hero-scroll-hint {
  position: absolute;
  z-index: 3;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  color: var(--text);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  background: rgba(0,0,0,0.25);
  animation: bounce 2s infinite;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.hero-scroll-hint:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(0,0,0,0.45);
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ── Section shared ───────────────────────────────────────── */
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 16px;
}

.section-header h2,
.projects h2,
.services h2,
.contact h2,
.about-text h1 {
  font-family: var(--font);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: normal;
  letter-spacing: 0.02em;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--cardinal);
  display: inline-block;
}

/* ── Projects ─────────────────────────────────────────────── */
.projects {
  padding: 100px 0;
  width: 100%;
}

/* Filter bar — centered above the grid */
.filter-bar {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 48px;
}

.filter-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 8px 20px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  border-radius: var(--radius);
}

.filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.filter-btn.active {
  border-color: var(--cardinal-bright);
  background: var(--cardinal);
  color: var(--text);
}

/* Grid — 2×2: covers tile into one big rectangle, quartered */
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

/* Card */
.card {
  background: var(--bg2);
  overflow: hidden;
  transition: opacity var(--transition), transform var(--transition);
}

.card.hidden { display: none; }

.card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.placeholder-media {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  transition: transform 0.5s ease;
}

.photo-placeholder { background: linear-gradient(135deg, #1a1a1a, #252018); }
.video-placeholder  { background: linear-gradient(135deg, #0f1a1a, #1a2520); }
.headshot-placeholder { background: linear-gradient(135deg, #1a1510, #251f10); font-size: 5rem; }

.placeholder-icon { opacity: 0.3; }

.card:hover .placeholder-media { transform: scale(1.05); }

.card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.card:hover .card-thumb { transform: scale(1.05); }

/* Not-yet-published project: cover only, not clickable */
.card--soon { cursor: default; }
.card-soon-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 5px 12px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent, #e8c87a);
  border-radius: 999px;
  font-weight: 600;
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

.card:hover .card-overlay { opacity: 1; }

.card-hover-title {
  font-family: var(--font);
  font-weight: normal;
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  letter-spacing: 0.04em;
  color: var(--text);
  text-align: center;
  padding: 0 24px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.8);
  transform: translateY(10px);
  transition: transform var(--transition);
}

.card:hover .card-hover-title { transform: translateY(0); }

/* ── About ────────────────────────────────────────────────── */
.about-hero {
  display: grid;
  grid-template-columns: 0.9fr 1.3fr 0.7fr;
  gap: 64px;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 80px) 48px 80px;
}

.about-photo-wrap {
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.about-photo-wrap .placeholder-media {
  width: 100%;
  height: 100%;
}

.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 51% center;
  display: block;
}

.about-text h1 { margin-bottom: 24px; }

.about-lead {
  font-family: var(--font);
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--accent);
  margin-bottom: 24px;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.8;
}

/* ── About certifications ─────────────────────────────────── */
.about-certs {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-self: stretch;
  justify-content: center;
  border-left: 1px solid var(--border);
  padding-left: 40px;
}

.certs-heading {
  font-family: var(--font);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}

.cert-item {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.cert-item:hover {
  color: var(--text);
}

.cert-badge {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}

.cert-name {
  font-size: 0.8rem;
  line-height: 1.4;
}

/* ── Services ─────────────────────────────────────────────── */
.services {
  padding: 80px 48px;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.services h2 {
  text-align: center;
  margin-bottom: 48px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2px;
  max-width: 900px;
  margin: 0 auto;
}

.service-card {
  background: var(--bg3);
  padding: 40px 32px;
  text-align: center;
}

.service-icon {
  display: block;
  font-size: 1.8rem;
  margin-bottom: 16px;
  opacity: 0.5;
  color: var(--accent);
}

.service-card h3 {
  font-family: var(--font);
  font-size: 1.1rem;
  font-weight: normal;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ── Contact ──────────────────────────────────────────────── */
.contact {
  padding: 100px 48px;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.contact h2 { margin-bottom: 12px; }

.contact-sub {
  color: var(--text-muted);
  margin-bottom: 56px;
  font-size: 0.95rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-item {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 32px;
  background: var(--bg2);
  border: 1px solid var(--border);
  transition: border-color var(--transition);
  cursor: pointer;
}

.contact-item:hover { border-color: var(--accent); }

/* "Copied!" confirmation bubble — hidden until JS adds .show */
.copy-toast {
  position: absolute;
  top: 50%;
  right: 32px;
  transform: translateY(-50%) translateY(6px);
  padding: 4px 10px;
  background: var(--accent);
  color: var(--bg);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 4px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.contact-item .copy-toast.show {
  opacity: 1;
  transform: translateY(-50%) translateY(0);
}

.contact-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-value {
  color: var(--accent);
  font-family: var(--font);
  font-size: 1rem;
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.footer-links { display: flex; gap: 24px; }
.footer-links a { transition: color var(--transition); }
.footer-links a:hover { color: var(--accent); }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav { padding: 0 20px; }

  /* the absolutely-centered logo collides with the name + links on phones */
  .nav-center-logo { display: none; }
  .nav-logo { font-size: 0.82rem; letter-spacing: 0.1em; }
  .nav-links { gap: 20px; }
  .nav-links a { font-size: 0.72rem; letter-spacing: 0.1em; }

  .projects { padding: 80px 0; }

  .grid { grid-template-columns: 1fr; }

  .about-hero {
    grid-template-columns: 1fr;
    padding: calc(var(--nav-h) + 40px) 24px 60px;
    gap: 40px;
  }

  .about-photo-wrap { max-width: 320px; margin: 0 auto; }

  .about-certs {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--border);
    padding-top: 32px;
  }

  .services { padding: 60px 24px; }
  .contact  { padding: 60px 24px; }

  .footer {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    padding: 32px 24px;
  }

  .section-header { flex-direction: column; }

  .gallery { column-count: 1; padding: 100px 16px 60px; }
  .project-header { padding: calc(var(--nav-h) + 40px) 24px 30px; }
}

/* ── Project / Gallery page ───────────────────────────────── */
.project-header {
  padding: calc(var(--nav-h) + 60px) 48px 30px;
  max-width: 1400px;
  margin: 0 auto;
}

.project-back {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 28px;
  transition: color var(--transition);
}
.project-back:hover { color: var(--accent); }

.project-tag {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cardinal-bright);
  font-weight: 700;
  margin-bottom: 10px;
}

.project-title {
  font-family: var(--font);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: normal;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}

.project-desc {
  color: var(--text-muted);
  max-width: 540px;
  font-size: 0.95rem;
}

/* Masonry via CSS columns (uncropped photos) */
.gallery {
  column-count: 4;
  column-gap: 12px;
  padding: 30px 48px 100px;
  max-width: 1400px;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .gallery { column-count: 2; }
}

/* Row-first variant (fills left-to-right); use for sets of uniform aspect ratio */
.gallery--grid {
  column-count: initial;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  align-items: start;
}
.gallery--grid .gallery-img { margin-bottom: 0; }

@media (max-width: 1024px) {
  .gallery--grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .gallery--grid { grid-template-columns: 1fr; }
}

/* Two-per-row grid (mixed orientations read better larger) */
.gallery--2col { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 560px) {
  .gallery--2col { grid-template-columns: 1fr; }
}

/* Pinterest-style masonry, 2 columns (no row gaps for mixed orientations) */
.gallery--cols2 { column-count: 2; }
@media (max-width: 560px) {
  .gallery--cols2 { column-count: 1; }
}

.gallery-img {
  width: 100%;
  margin-bottom: 12px;
  border-radius: var(--radius);
  cursor: pointer;
  break-inside: avoid;
  transition: opacity var(--transition), transform var(--transition);
}
.gallery-img:hover { opacity: 0.85; transform: translateY(-2px); }

/* Video project pages presented as a full-screen overlay (matches the photo
   lightbox: dark backdrop hides the site, close box returns to the work grid) */
.video-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background:
    radial-gradient(ellipse at center, rgba(30,30,34,0.95) 0%, rgba(0,0,0,0.97) 78%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
}

/* inner sections must span the overlay, not shrink to content (the slide
   videos are absolutely positioned, so a flex child would collapse to ~0 width) */
.video-overlay > .slideshow,
.video-overlay > .video-stage {
  width: 100%;
}

.video-close {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  line-height: 1;
  color: var(--text);
  background: rgba(35,35,38,0.85);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  box-shadow: 0 2px 14px rgba(0,0,0,0.6);
  z-index: 210;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.video-close:hover {
  background: rgba(40,40,40,0.95);
  border-color: var(--accent);
  color: var(--accent);
}

/* Single video project */
.video-stage {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 30px 48px 100px;
  max-width: 900px;
  margin: 0 auto;
}

.video-player {
  width: 100%;
  border-radius: var(--radius);
  background: #000;
  box-shadow: 0 10px 50px rgba(0,0,0,0.5);
}

/* vertical clips shouldn't fill the whole width */
.video-vertical {
  width: auto;
  max-width: 100%;
  max-height: 80vh;
}

/* landscape (16:9) single video — give it more room than the 900px default */
.video-stage--wide { max-width: 1200px; }

@media (max-width: 768px) {
  .video-stage { padding: 20px 16px 60px; }
}

/* Video slideshow (Instagram-style) */
.slideshow {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 30px 16px 100px;
  max-width: 1600px;
  margin: 0 auto;
}

.slide-frame {
  position: relative;
  width: 100%;
}

/* viewport clips the track; neighbors peek at the edges */
.slide-viewport {
  width: 100%;
  overflow: hidden;
}

.slide-track {
  position: relative;
  height: 70vh;
}

.slide-video {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 70vh;
  width: auto;          /* vertical clips keep their aspect (~0.8 of height) */
  aspect-ratio: 1842 / 2304;  /* lock size before metadata loads */
  object-fit: cover;
  border-radius: var(--radius);
  background: #000;
  box-shadow: 0 10px 50px rgba(0,0,0,0.5);
  cursor: pointer;
  will-change: transform, opacity, filter;
  /* transform/opacity/filter are set inline by JS per position */
  transition: transform 0.5s cubic-bezier(0.22,0.61,0.36,1),
              opacity 0.5s ease, filter 0.5s ease;
}

@media (max-width: 768px) {
  .slide-track { height: 56vh; }
  .slide-video { height: 56vh; }
}

/* Landscape (16:9) variant — wider clips sized by width instead of height */
.slideshow--wide .slide-track { height: 56vh; }
.slideshow--wide .slide-video {
  height: 56vh;
  width: auto;
  max-width: 92vw;
  aspect-ratio: 16 / 9;
}

@media (max-width: 768px) {
  .slideshow--wide .slide-track { height: 34vh; }
  .slideshow--wide .slide-video { width: 92vw; }
}

/* in-frame arrows: switch clip within this project */
.slide-clip-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(10,10,10,0.55);
  border: none;
  color: var(--text);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity var(--transition), background var(--transition);
}
.slide-clip-arrow:hover { opacity: 1; background: var(--cardinal); }
.slide-clip-prev { left: 12px; }
.slide-clip-next { right: 12px; }

/* dots: which clip */
.slide-dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 18px;
}
.slide-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.slide-dot.active { background: var(--cardinal-bright); transform: scale(1.25); }

@media (max-width: 768px) {
  .slideshow { padding: 20px 28px 60px; }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  /* radial lift: center is slightly raised, edges fall to near-black so the
     overlay reads as a distinct layer even on the all-dark site */
  background:
    radial-gradient(ellipse at center, rgba(30,30,34,0.92) 0%, rgba(0,0,0,0.95) 75%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: none;
  align-items: center;
  justify-content: center;
}
.lightbox.open { display: flex; }

.lightbox-img {
  max-width: 90vw;
  max-height: 88vh;
  border-radius: var(--radius);
  /* hairline frame + soft outer glow so the photo clearly floats above the
     dark page, even when the image's own edges are dark */
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.6),
    0 24px 90px rgba(0,0,0,0.9),
    0 0 140px rgba(255,255,255,0.07);
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  opacity: 0.7;
  transition: opacity var(--transition);
  line-height: 1;
  user-select: none;
}
.lightbox-close:hover,
.lightbox-nav:hover { opacity: 1; color: var(--accent); }

.lightbox-close {
  top: 20px;
  right: 20px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  background: rgba(35,35,38,0.85);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  box-shadow: 0 2px 14px rgba(0,0,0,0.6);
  opacity: 1;
}
.lightbox-close:hover {
  background: rgba(40,40,40,0.85);
  border-color: var(--accent);
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  font-size: 3.5rem;
  padding: 0 24px;
}
.lightbox-prev { left: 8px; }
.lightbox-next { right: 8px; }

@media (max-width: 768px) {
  .lightbox-nav { font-size: 2.5rem; padding: 0 12px; }
}
